package com.ruoyan.service;

import com.ruoyan.pojo.Purchase;

import java.util.List;

/**
 * @Package: com.ruoyan.service
 * @ClassName: PurchaseService
 * @Author: ruoyan1998
 * @CreateTime: 2021/6/7 21:22
 * @Description:
 */
public interface PurchaseService
{
    List<Purchase> queryPurchaseList();

    Purchase queryPurchaseListById(int id);

    int updatePurchase(Purchase purchase);

    int addPurchase(Purchase purchase);

    int deletePurchase(int id);
}
